import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "@/assets/css/index.scss"
import "element-plus/packages/theme-chalk/src/icon.scss"    // 单独导入icon图标
import element from "@/plugs/element.js"


// 导入自定义 plugins
import myPlugins from "./mixins"

// 开发环境下引入mock.js
if (process.env.NODE_ENV === 'development') {
    require('../mock')
}

const app = createApp(App)

app.use(myPlugins).use(element).use(store).use(router).mount('#app')
